package com.service.impl;

import com.service.LoginService;
import com.dao.inter.LoginDao;
import com.dao.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("loginService")
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginDao dao;

    public UserInfo getUser(String id) {
        return dao.getUser(id);
    }
}
